export interface MenuParams {
  name: string;
}
interface Role {
  [key: string]: string;
}

export interface RouterItem {
  name: string;
  icon: string;
  role: Role;
}

export interface Router {
  [key: string]: RouterItem;
}

export type MenuData = {
  router: Array<Router> | never;
  success: boolean;
} 